<?php
class Application_Form_ExigenceR extends Zend_Form
{
	public function init()
	{
		$this->setName("Exigence");
		
		$code = new Zend_Form_Element_Text("CodeE");
		//$code->setLabel("Code Produit : ");
		$code->setAttrib("class", "inp-form");
		
		$codeButton = new Zend_Form_Element_Submit("exigenceButton");
		//$codeButton->setLabel("Ajout Exigence");
		$codeButton->setAttrib("class", "form-submit");
		
		$annulerButton = new Zend_Form_Element_Button("annulerExigenceButton");
		$annulerButton->setAttrib("onClick", "window.location='acceuil'");
		$annulerButton->setAttrib("class", "form-reset");

		$resetButton = new Zend_Form_Element_Reset("resetButton");
		$resetButton->setLabel("Effacer");
		
		$this->addElements(array($code,$codeButton,$annulerButton,$resetButton));
	}
}
?>